import reducer from '@/redux/reducers/index.js';
import { applyMiddleware, createStore } from 'redux';
//使用 redux-thunk中间件来处理异步action
import thunk from 'redux-thunk';
export default createStore(reducer, applyMiddleware(thunk));
